package com.hehua.DecoratorPattern;

/**
 * @author hehua
 * 文本框类 充当具体构件类
 */
public class TextBox extends Component{
    @Override
    public void display() {
        System.out.println("显示文本框");
    }
}
